package com.zhdl.hardware.robot.kuka.service.impl;

import com.zhdl.hardware.robot.kuka.repository.KukaCmdHandleDao;
import com.zhdl.hardware.robot.kuka.service.KukaCmdSendService;
import com.zhdl.modules.tools.CommonCallback;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
@Service
public class KukaCmdSendServiceImpl implements KukaCmdSendService {

    @Resource
    private KukaCmdHandleDao kukaCmdHandleDao;


    @Override
    public void kukaRobotSendCmd(String cmd, CommonCallback<String> callback){
        kukaCmdHandleDao.kukaRobotCmd(cmd,callback);
    }


}
